import request from '../utils/fetch'

export function getHouseOutOrderList (data) {
  return request({
    url: '/house/outorder/getHouseOutOrderList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getHouseOutOrderCount (data) {
  return request({
    url: '/house/outorder/getHouseOutOrderCount',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getHouseOutOrderInfo (data) {
  return request({
    url: '/house/outorder/getHouseOutOrderInfo',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function sendOutOrder (data) {
  return request({
    url: '/house/outorder/sendOutOrder',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getHouseOutOrderExcel (data) {
  return request({
    url: '/house/outorder/getHouseOutOrderExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}
export function gettuokeOutOrderExcel (data) {
  return request({
    url: '/admin/wxuser/getUserInviteExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function getcaigoudaneOutOrderExcel (data) {
  return request({
    url: '/admin/opshoporder/getAdminOpShopOrderExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function gethuishouzhichuOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getUserOrderCostExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function gethuishouzhanOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getBackStopBillExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}
export function gethuishouzhanxiangqingOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getBackStopBillDetailExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function getcangkuOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getCostExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function getpingtaicangkuOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getBackStopCostDetailExcel',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}

export function getcaigoudanxiangqingOutOrderExcel (data) {
  return request({
    url: '/admin/finance/getHouseOutOrderCostDetailExce',
    method: 'get',
    requestBody: 'download',
    loading: true,
    params: data
  })
}
export function updatemoney (data) {
  return request({
    url: '/admin/opshoporder/editOpShopOrderPay',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function shoumoney (data) {
  return request({
    url: '/admin/opshoporder/addOpShopOrderPay',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function jiesuanhao (data) {
  return request({
    url: '/admin/finance/getHoBackStopListByMonth',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}








